package com.oceansoft.mobile.biz.front.entity;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

public class ConditionMapper implements RowMapper<Condition>{
	public Condition mapRow(ResultSet rs,int rowIndex) throws SQLException{
		Condition condition=new Condition();
		condition.setIdCard(rs.getString("IDCARD"));
		condition.setMobile(rs.getString("MOBILE"));
		condition.setWeixinId(rs.getString("WEIXINId"));
		condition.setType(rs.getInt("TYPE"));
		condition.setSid(rs.getInt("SID"));
		return condition;
		
	}

}
